<?php

class BGoodsOrderCommission extends BaseModel
{
    protected $res;
    protected $key = "f_b_goods_order_commission";

    public function getSource()
    {
        return "f_b_goods_order_commission";
    }

    public function initialize()
    {
        parent::initialize();
    }


    public function order_commission_save($params)
    {
        return $this::save($params);
    }

    public function order_commission_details($params)
    {
        $data = $this::findFirst($params);
        return $data ? $data->toarray() : [];
    }


}
